package com.wx.fresh.platform.controller;

import com.wx.fresh.common.util.CommonResult;
import com.wx.fresh.platform.vo.PlatformUserVo;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.web.bind.annotation.*;

/**
 * @Author 苏辞
 * 平台管理用户列表
 * @Date 2022/4/26 9:51
 * @Version 1.0
 */
@RestController
@RequestMapping("platform")
public class PManageUserController {

    @ApiOperation(value = "平台查询用户列表")
    @GetMapping("/PUserFindAll")//平台用户查询
    public CommonResult PUserFindAll(@RequestBody PlatformUserVo platformUserVo) {
        return null;
    }

    @ApiOperation(value = "根据指定id查询指定用户信息")
    @GetMapping("/PUserFindById")
    public CommonResult<PlatformUserVo> PUserFindById(@ApiParam("用户id") Long id) {
        return null;
    }

    @ApiOperation(value = "平台编辑用户")
    @PostMapping("/pUserEdit")//平台用户编辑
    public CommonResult pUserEdit(@RequestBody PlatformUserVo platformUserVo) {
        return null;
    }

    @ApiOperation(value = "平台删除用户")
    @ApiImplicitParam(name = "id", value = "用户id", required = true, paramType = "int")
    @PostMapping("/pUserDelete")//平台用户删除
    public CommonResult pUserDelete(@ApiParam("用户id") Long id) {
        return null;
    }

}
